@import '../index.scss';

.g-map {
  position: relative;
  height: 365px;
  box-shadow: 0 0 4px 0 $color-gray-tran-dark;
  border-radius: 4px;

  #map {
    height: 100%;
  }

  //自定义区域
  &-custom {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 20px;
    max-height: 80%;
  }
  //鼠标绘制
  &-draw {
    position: absolute;
    top: 15px;
    right: 10px;
    padding: 5px;
    background: $color-white;
    border-radius: 5px;
    box-shadow: 0 0 4px 0 $color-gray;
    &-icon {
      font-size: $font-size-l;
      margin: 5px;
      color: $color-gray-tran;
      &-high {
        font-size: $font-size-l;
        margin: 5px;
        color: $color-blue;
      }
    }
  }

  /*************************重写百度地图样式*************************/
  //去掉百度地图logo.注意：如果直接隐藏.anchorBL，会将定位按钮页隐藏
  .anchorBL a {
    display: none;
  }
}
